package com.catsic.base.accordion;

import java.io.Serializable;
import java.util.List;
/**
 * 用于生成主页面左侧菜单
 * @author cater
 */
public class Accordion implements Serializable{ 
	/**
	 */
	private static final long serialVersionUID = -1745024398410475827L;
	
	private String text;
	
	private String id;
	
	private String pid;
	
	private List<Accordion> children;
	
	private String url;
	
	public Accordion() {
	}
	
	public Accordion(String id, String text,String pid,String url) {
	}
	
	public Accordion(String id, String text,String pid,String url,List<Accordion> children) {
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public List<Accordion> getChildren() {
		return children;
	}

	public void setChildren(List<Accordion> children) {
		this.children = children;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

}
